package com.ylbh.modules.shopping_orderform.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ylbh.common.pojo.goodsorder.dto.ExternalOrderDTO;
import com.ylbh.common.pojo.goodsorder.vo.ExternalOrderVO;
import com.ylbh.modules.shopping_orderform.entity.ShoppingForeignOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author
 * @email
 * @date
 */
@Mapper
@Repository
public interface ShoppingForeignOrderDao extends BaseMapper<ShoppingForeignOrder> {

    List<ExternalOrderVO> selectOrderList(Map<String, Object> params, Page<Object> page);

    ExternalOrderVO selectExternalOrderById(@Param(value = "id") String id);
}
